package com.whsxt;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-10 17:46
 * @Description:
 */
@SpringBootApplication
@EnableEurekaClient
@EnableAdminServer      //开启admin监控
public class AdminServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminServerApplication.class, args);
        System.out.println(">>>>>>>>>>admin-server 启动完成<<<<<<<<<<<<<<");
    }
}
